package com.example.qxfw.shfx.Service;

import com.dmgis.entity.DmMapPoint;
import com.example.qxfw.common.entity.zy.Flooded;


import java.util.HashMap;
import java.util.List;


public interface FxyaService {
    /**
     * 获取水文站点名称及坐标
     */
    HashMap<String, DmMapPoint> getAllOfWaterStation();

    /**
     * 获取淹没预案表信息
     * @return
     */
    List<Flooded> getAllOfFlooded();

    /**
     * 根据id删除数据
     * @param id
     * @return
     */
    int deleteOfFlooded(int id);

    /**
     * 添加数据
     * @param flooded
     * @return
     */
    Flooded insertOfFlooded(Flooded flooded);
}
